<?php
/**
 * Created by JetBrains PhpStorm.
 * User: heimuya
 * Date: 13-9-11
 * Time: 下午9:03
 * 系统用户模块
 */
class FoodModel extends Model{
	
	/**
	 * 获取菜品列表
	 */
	 public function getFoodList(){
	 	return $this->select();
	 }
	
    /**
     * @param $fid 菜品名
     */
    public function getFoodDetail($fid){
        $where['id'] = $fid;
        return $this->where($where)->find();
    }
	
	/**
	 * @param $data
	 */
}